package com.yc.cloud.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * OCR日志
 *
 * @author Yancy
 * @since 2024-11-26
 */
@Data
@TableName("device_ocr_logs")
@ApiModel(value = "DeviceOcrLogs对象", description = "OCR日志")
public class DeviceOcrLogs {


    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("设备编号")
    @TableField("device_num")
    private String deviceNum;

    @ApiModelProperty("OCR识别时间")
    @TableField("ocr_time")
    private LocalDateTime ocrTime;

    @ApiModelProperty("OCR内容")
    @TableField("ocr_info")
    private String ocrInfo;

    @ApiModelProperty("通道号")
    @TableField("channel_code")
    private String channelCode;

    @ApiModelProperty("图片路径")
    @TableField("pic_path")
    private String picPath;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;


    public static final String ID = "id";

    public static final String DEVICE_NUM = "device_num";

    public static final String OCR_TIME = "ocr_time";

    public static final String OCR_INFO = "ocr_info";

    public static final String CHANNEL_CODE = "channel_code";

}
